#ifndef __HEAP_H
#define __HEAP_H

typedef float ELementType;
// struct HeapStruct;
struct HeapStruct {
	int cap;
	int size;
	ELementType* list;
};
typedef struct HeapStruct * PQueue;


int isFull(PQueue pq);
int isEmpty(PQueue pq);
void insert(PQueue pq, ELementType x);
ELementType deleteMin(PQueue pq);
PQueue init(int capacity);
void printPQ(PQueue pq);


#endif